package com.encryption.model;

import java.util.Date;

/**
 * CertDetail entity. @author MyEclipse Persistence Tools
 */

public class CertDetail implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userId;
	private String certSn;
	private String certBase64;
	private String certThrumbid;
	private String certType;
	private Date gmtCreate;
	private Date gmtModify;

	// Constructors

	/** default constructor */
	public CertDetail() {
	}

	/** minimal constructor */
	public CertDetail(String userId, String certSn, String certType) {
		this.userId = userId;
		this.certSn = certSn;
		this.certType = certType;
	}

	/** full constructor */
	public CertDetail(String userId, String certSn, String certBase64,
			String certThrumbid, String certType, Date gmtCreate, Date gmtModify) {
		this.userId = userId;
		this.certSn = certSn;
		this.certBase64 = certBase64;
		this.certThrumbid = certThrumbid;
		this.certType = certType;
		this.gmtCreate = gmtCreate;
		this.gmtModify = gmtModify;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCertSn() {
		return this.certSn;
	}

	public void setCertSn(String certSn) {
		this.certSn = certSn;
	}

	public String getCertBase64() {
		return this.certBase64;
	}

	public void setCertBase64(String certBase64) {
		this.certBase64 = certBase64;
	}

	public String getCertThrumbid() {
		return this.certThrumbid;
	}

	public void setCertThrumbid(String certThrumbid) {
		this.certThrumbid = certThrumbid;
	}

	public String getCertType() {
		return this.certType;
	}

	public void setCertType(String certType) {
		this.certType = certType;
	}

	public Date getGmtCreate() {
		return this.gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return this.gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

}